package com.cans.ssoserver.service.user.impl;

import com.cans.base.dao.api.IBaseDao;
import com.cans.base.model.SsoUser;
import com.cans.base.service.impl.BaseServiceImpl;
import com.cans.ssoserver.dao.ISsoUserDao;
import com.cans.ssoserver.service.user.api.ISsoUserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author cans
 * @date 2018/6/18
 * @description
 */
@Service("ssoUserService")
@Transactional(rollbackFor = Exception.class)
public class SsoUserServiceImpl extends BaseServiceImpl<SsoUser,String> implements ISsoUserService {

    @Resource
    private ISsoUserDao ssoUserDao;

    @Override
    public IBaseDao<SsoUser, String> getDaoImpl() {
        return ssoUserDao;
    }
}
